package interfaces;

/**
 * @classname:Dog
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/28 19:38
 * @version: 0.1
 * @since:1.8
 */
public class Dog extends Animals {
    public Dog() {
    }

    public Dog(String name, String color) {
        super(name, color);
    }

    @Override
    public void run() {
        System.out.println("狗在跑");
    }
    public void bite(){
        System.out.println("咬人");
    }
}
